package cn.kuick.iplocation.decorator_model;

/**
 * Created by Administrator on 2016/12/2.
 */
public class Manager implements Project{
    private Project project;

    public Manager(Project project){
        this.project = project;
    }

    public void doCoding(){
        startNewWork();
    }

    public void startNewWork(){
        doEarlyWork();

        project.doCoding();

        doEndWork();
    }

    public void doEarlyWork(){

    }

    public void doEndWork(){

    }
}
